package com.grouuu.event;
import starling.events.Event;

/**
 * ...
 * @author Grouuu
 */

class TimerEvent extends Event
{
	static public inline var ON_UPDATE:String = "onUpdate";
	static public inline var ON_START:String = "onStart";
	static public inline var ON_STOP:String = "onStop";
	
	private var _delay:Float;
	
	public function new(type:String, ?delay:Float = 0) 
	{
		_delay = delay;
		
		super(type);
	}
	
	public function delay():Float
	{
		return _delay;
	}
}